#!/usr/bin/env python
# -*- coding: utf-8 -*-
# 数据校验相关函数，如邮箱校验、手机号校验等
import re

def is_valid_email(email: str) -> bool:
    pattern = r'^[\w\.-]+@[\w\.-]+\.\w+$'
    return bool(re.match(pattern, email))
